home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
ansi_111.arc
/
ANSI_CHK.DOC
< prev
Wrap
Text File
|
1987-03-04
|
2KB
|
55 lines
ANSI_CHK : Check for ANSI Device Driver Program
Version 1.11, 04-Mar-1987
SMG Software
(C) Copyright 1986,1987 by
Steven Georgiades
All Rights Reserved
This program will check to see if an ANSI Device Driver is
installed in your system. This program will detect the presence of any
ANSI Device Driver that supports the Device Status Report command (ESC
[6n). This program can be used within a batch file to perform
conditional branches depending on the presence or absence of the
ANSI.SYS device driver. The source code can also be used as a model to
make your programs detect the presence of ANSI.SYS. I have no
complaints about you lifting the subroutine "ANSI_CHK" from the source
code as-is, just so long as you do not remove the message indicating my
authorship of the routine. This code could easily be adapted to work
with virtually any high-level language.
Command Format:
ANSI_CHK
Revision History:
Version 1.00 Initial Release
Version 1.10 Changed method for detecting ANSI.SYS
Version 1.11 Fixed bug for correct return code
-----------------------------------------------------------------------
This software is hereby released into the public domain, and may
therefore be freely copied and distributed.
This program is provided AS IS without any warranty, expressed or
implied, including but not limited to fitfulness for a particular
purpose.
If you have any questions or comments about this or any other SMG
program, write to me at the following address:
Steven M. Georgiades
SMG Software
701-H South Hayward Street
Anaheim, CA 92804